package com.george.shartdingsphere.entity;


import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("sys_user")
public class SysUserEntity {

    @TableId
    private Long id;


    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String userName;

    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private Integer age;

    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private Date createTime;

    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private Date updateTime;


}
